package com.ogawa.chair7808.bean;

import android.text.TextUtils;
import android.util.Log;

public class Device7808StateBean {
    private String TimeRemaining = "";
    private String RunningStatusQuery = "";
    private String RunningStatus = "";
    private String TimeExpired = "";
    private String WaringTone = "";
    private String ResetSucccessFlag = "";
    private String WifiName = "";
    private String WifiSignal = "";
    private String WifiWay = "";
    private String WifiEnctyption = "";
    private String Knead = "";
    private String Swedish = "";
    private String Knock = "";
    private String Shiasu = "";
    private String Flap = "";
    private String Tuina = "";
    private String KneadAndKnock = "";
    private String HandProgram = "";
    private String TuinaStatus = "";
    private String KneadStatus = "";
    private String SwedishStatus = "";
    private String KnockStatus = "";
    private String ShiasuStatus = "";
    private String KneadAndKnockStatus = "";
    private String FlapStatus = "";
    private String AutoProgram = "";
    private String XStatus = "";
    private String LegPosAdjust = "";
    private String LegPosAdjustX = "";
    private String BackPosAdjust = "";
    private String ZeroGravity = "";
    private String YStatus = "";
    private String YPos = "";
    private String ShoulderDetectCheck = "";
    private String KneadSpeed = "";
    private String KnockSpeed = "";
    private String FootScrollSenior = "";
    private String TimeSet = "";
    private String HeatFullBody = "";
    private String KneeHeat = "";
    private String HeatWaist = "";
    private String FootWheelButton = "";
    private String Led = "";
    private String AntiPinchCheck = "";
    private String FootWheelIcon = "";
    private String LedIcon = "";
    private String HeatLevelRank = "";
    private String heatKneeLevelRank="";
    private String heatWaistLevelRank="";
    private String AirIntensityAdjust = "";
    private String XPos = "";
    private String MassageStrength = "";
    private String MassageSpeed = "";
    private String AirIntensity = "";
    private String AirCellShoulder = "";
    private String AirCellHip = "";
    private String AirCellHand = "";
    private String AirCellleg = "";
    private String AirCellFootSide = "";
    private String AirCellWholebody = "";
    private String AirCellFootStatus = "";
    private String AirCelllegStatus = "";
    private String AirCellHandStatus = "";
    private String AirCellSeatStatus = "";
    private String AirCellShoulderStatus = "";
    private String _4d = "";
    private String _3DPosIconBean = "";
    public void clearData(){
        TimeRemaining = "";
        RunningStatusQuery = "";
        RunningStatus = "";
        TimeExpired = "";
        WaringTone = "";
        ResetSucccessFlag = "";
        WifiName = "";
        WifiSignal = "";
        WifiWay = "";
        WifiEnctyption = "";
        Knead = "";
        Swedish = "";
        Knock = "";
        Shiasu = "";
        Flap = "";
        Tuina = "";
        KneadAndKnock = "";
        HandProgram = "";
        TuinaStatus = "";
        KneadStatus = "";
        SwedishStatus = "";
        KnockStatus = "";
        ShiasuStatus = "";
        KneadAndKnockStatus = "";
        FlapStatus = "";
        AutoProgram = "";
        XStatus = "";
        LegPosAdjust = "";
        LegPosAdjustX = "";
        BackPosAdjust = "";
        ZeroGravity = "";
        YStatus = "";
        YPos = "";
        ShoulderDetectCheck = "";
        KneadSpeed = "";
        KnockSpeed = "";
        FootScrollSenior = "";
        TimeSet = "";
        HeatFullBody = "";
        KneeHeat = "";
        HeatWaist = "";
        FootWheelButton = "";
        Led = "";
        AntiPinchCheck = "";
        FootWheelIcon = "";
        LedIcon = "";
        HeatLevelRank = "";
        heatKneeLevelRank="";
        heatWaistLevelRank="";
        AirIntensityAdjust = "";
        XPos = "";
        MassageStrength = "";
        MassageSpeed = "";
        AirIntensity = "";
        AirCellShoulder = "";
        AirCellHip = "";
        AirCellHand = "";
        AirCellleg = "";
        AirCellFootSide = "";
        AirCellWholebody = "";
        AirCellFootStatus = "";
        AirCelllegStatus = "";
        AirCellHandStatus = "";
        AirCellSeatStatus = "";
        AirCellShoulderStatus =
                _4d = "";
        _3DPosIconBean = "";
    }

    public String getTimeRemaining() {
        return TimeRemaining;
    }

    public void setTimeRemaining(String timeRemaining) {
        TimeRemaining = timeRemaining;
    }

    public String getRunningStatusQuery() {
        return RunningStatusQuery;
    }

    public void setRunningStatusQuery(String runningStatusQuery) {
        RunningStatusQuery = runningStatusQuery;
    }

    public String getRunningStatus() {
        return RunningStatus;
    }

    public void setRunningStatus(String runningStatus) {
        RunningStatus = runningStatus;
    }

    public String getTimeExpired() {
        return TimeExpired;
    }

    public void setTimeExpired(String timeExpired) {
        TimeExpired = timeExpired;
    }

    public String getWaringTone() {
        return WaringTone;
    }

    public void setWaringTone(String waringTone) {
        WaringTone = waringTone;
    }

    public String getResetSucccessFlag() {
        return ResetSucccessFlag;
    }

    public void setResetSucccessFlag(String resetSucccessFlag) {
        ResetSucccessFlag = resetSucccessFlag;
    }

    public String getWifiName() {
        return WifiName;
    }

    public void setWifiName(String wifiName) {
        WifiName = wifiName;
    }

    public String getWifiSignal() {
        return WifiSignal;
    }

    public void setWifiSignal(String wifiSignal) {
        WifiSignal = wifiSignal;
    }

    public String getWifiWay() {
        return WifiWay;
    }

    public void setWifiWay(String wifiWay) {
        WifiWay = wifiWay;
    }

    public String getWifiEnctyption() {
        return WifiEnctyption;
    }

    public void setWifiEnctyption(String wifiEnctyption) {
        WifiEnctyption = wifiEnctyption;
    }

    public String getKnead() {
        return Knead;
    }

    public void setKnead(String knead) {
        Knead = knead;
    }


    public String getSwedish() {
        return Swedish;
    }

    public void setSwedish(String swedish) {
        Swedish = swedish;
    }

    public String getKnock() {
        return Knock;
    }

    public void setKnock(String knock) {
        Knock = knock;
    }

    public String getShiasu() {
        return Shiasu;
    }

    public void setShiasu(String shiasu) {
        Shiasu = shiasu;
    }

    public String getFlap() {
        return Flap;
    }

    public void setFlap(String flap) {
        Flap = flap;
    }

    public String getTuina() {
        return Tuina;
    }

    public void setTuina(String tuina) {
        Tuina = tuina;
    }

    public String getKneadAndKnock() {
        return KneadAndKnock;
    }

    public void setKneadAndKnock(String kneadAndKnock) {
        KneadAndKnock = kneadAndKnock;
    }

    public String getHandProgram() {
        return HandProgram;
    }

    public void setHandProgram(String handProgram) {
        HandProgram = handProgram;
    }


    public String getTuinaStatus() {
        return TuinaStatus;
    }

    public void setTuinaStatus(String tuinaStatus) {
        TuinaStatus = tuinaStatus;
    }

    public String getKneadStatus() {
        return KneadStatus;
    }

    public void setKneadStatus(String kneadStatus) {
        KneadStatus = kneadStatus;
    }


    public String getSwedishStatus() {
        return SwedishStatus;
    }

    public void setSwedishStatus(String swedishStatus) {
        SwedishStatus = swedishStatus;
    }

    public String getKnockStatus() {
        return KnockStatus;
    }

    public void setKnockStatus(String knockStatus) {
        KnockStatus = knockStatus;
    }

    public String getShiasuStatus() {
        return ShiasuStatus;
    }

    public void setShiasuStatus(String shiasuStatus) {
        ShiasuStatus = shiasuStatus;
    }

    public String getKneadAndKnockStatus() {
        return KneadAndKnockStatus;
    }

    public void setKneadAndKnockStatus(String kneadAndKnockStatus) {
        KneadAndKnockStatus = kneadAndKnockStatus;
    }

    public String getFlapStatus() {
        return FlapStatus;
    }

    public void setFlapStatus(String flapStatus) {
        FlapStatus = flapStatus;
    }

    public String getAutoProgram() {
        return AutoProgram;
    }

    public void setAutoProgram(String autoProgram) {
        AutoProgram = autoProgram;
    }

    public String getXStatus() {
        return XStatus;
    }

    public void setXStatus(String XStatus) {
        this.XStatus = XStatus;
    }

    public String getLegPosAdjust() {
        return LegPosAdjust;
    }

    public void setLegPosAdjust(String legPosAdjust) {
        LegPosAdjust = legPosAdjust;
    }

    public String getLegPosAdjustX() {
        return LegPosAdjustX;
    }

    public void setLegPosAdjustX(String legPosAdjustX) {
        LegPosAdjustX = legPosAdjustX;
    }

    public String getBackPosAdjust() {
        return BackPosAdjust;
    }

    public void setBackPosAdjust(String backPosAdjust) {
        BackPosAdjust = backPosAdjust;
    }

    public String getZeroGravity() {
        return ZeroGravity;
    }

    public void setZeroGravity(String zeroGravity) {
        ZeroGravity = zeroGravity;
    }

    public String getYStatus() {
        return YStatus;
    }

    public void setYStatus(String YStatus) {
        this.YStatus = YStatus;
    }

    public String getYPos() {
        return YPos;
    }

    public void setYPos(String YPos) {
        this.YPos = YPos;
    }

    public String getShoulderDetectCheck() {
        return ShoulderDetectCheck;
    }

    public void setShoulderDetectCheck(String shoulderDetectCheck) {
        ShoulderDetectCheck = shoulderDetectCheck;
    }

    public String getKneadSpeed() {
        return KneadSpeed;
    }

    public void setKneadSpeed(String kneadSpeed) {
        KneadSpeed = kneadSpeed;
    }

    public String getKnockSpeed() {
        return KnockSpeed;
    }

    public void setKnockSpeed(String knockSpeed) {
        KnockSpeed = knockSpeed;
    }

    public String getFootScrollSenior() {
        return FootScrollSenior;
    }

    public void setFootScrollSenior(String footScrollSenior) {
        FootScrollSenior = footScrollSenior;
    }

    public String getTimeSet() {
        return TimeSet;
    }

    public void setTimeSet(String timeSet) {
        TimeSet = timeSet;
    }

    public String getHeatFullBody() {
        return HeatFullBody;
    }

    public void setHeatFullBody(String heatFullBody) {
        HeatFullBody = heatFullBody;
    }

    public String getKneeHeat() {
        return KneeHeat;
    }

    public void setKneeHeat(String kneeHeat) {
        KneeHeat = kneeHeat;
    }

    public String getHeatWaist() {
        return HeatWaist;
    }

    public void setHeatWaist(String heatWaist) {
        HeatWaist = heatWaist;
    }

    public String getFootWheelButton() {
        return FootWheelButton;
    }

    public void setFootWheelButton(String footWheelButton) {
        FootWheelButton = footWheelButton;
    }

    public String getLed() {
        return Led;
    }

    public void setLed(String led) {
        Led = led;
    }

    public String getAntiPinchCheck() {
        return AntiPinchCheck;
    }

    public void setAntiPinchCheck(String antiPinchCheck) {
        AntiPinchCheck = antiPinchCheck;
    }

    public String getFootWheelIcon() {
        return FootWheelIcon;
    }

    public void setFootWheelIcon(String footWheelIcon) {
        FootWheelIcon = footWheelIcon;
    }

    public String getLedIcon() {
        return LedIcon;
    }

    public void setLedIcon(String ledIcon) {
        LedIcon = ledIcon;
    }

    public String getHeatLevelRank() {
        return HeatLevelRank;
    }

    public void setHeatLevelRank(String heatLevelRank) {
        HeatLevelRank = heatLevelRank;
    }

    public String getHeatKneeLevelRank() {
        return heatKneeLevelRank;
    }

    public void setHeatKneeLevelRank(String heatKneeLevelRank) {
        this.heatKneeLevelRank = heatKneeLevelRank;
    }

    public String getHeatWaistLevelRank() {
        return heatWaistLevelRank;
    }

    public void setHeatWaistLevelRank(String heatWaistLevelRank) {
        this.heatWaistLevelRank = heatWaistLevelRank;
    }

    public String getAirIntensityAdjust() {
        return AirIntensityAdjust;
    }

    public void setAirIntensityAdjust(String airIntensityAdjust) {
        AirIntensityAdjust = airIntensityAdjust;
    }

    public String getXPos() {
        return XPos;
    }

    public void setXPos(String XPos) {
        this.XPos = XPos;
    }

    public String getMassageStrength() {
        return MassageStrength;
    }

    public void setMassageStrength(String massageStrength) {
        MassageStrength = massageStrength;
    }

    public String getMassageSpeed() {
        return MassageSpeed;
    }

    public void setMassageSpeed(String massageSpeed) {
        MassageSpeed = massageSpeed;
    }

    public String getAirIntensity() {
        return AirIntensity;
    }

    public void setAirIntensity(String airIntensity) {
        AirIntensity = airIntensity;
    }

    public String getAirCellShoulder() {
        return AirCellShoulder;
    }

    public void setAirCellShoulder(String airCellShoulder) {
        AirCellShoulder = airCellShoulder;
    }

    public String getAirCellHip() {
        return AirCellHip;
    }

    public void setAirCellHip(String airCellHip) {
        AirCellHip = airCellHip;
    }

    public String getAirCellHand() {
        return AirCellHand;
    }

    public void setAirCellHand(String airCellHand) {
        AirCellHand = airCellHand;
    }

    public String getAirCellleg() {
        return AirCellleg;
    }

    public void setAirCellleg(String airCellleg) {
        AirCellleg = airCellleg;
    }

    public String getAirCellFootSide() {
        return AirCellFootSide;
    }

    public void setAirCellFootSide(String airCellFootSide) {
        AirCellFootSide = airCellFootSide;
    }

    public String getAirCellWholebody() {
        return AirCellWholebody;
    }

    public void setAirCellWholebody(String airCellWholebody) {
        AirCellWholebody = airCellWholebody;
    }

    public String getAirCellFootStatus() {
        return AirCellFootStatus;
    }

    public void setAirCellFootStatus(String airCellFootStatus) {
        AirCellFootStatus = airCellFootStatus;
    }

    public String getAirCelllegStatus() {
        return AirCelllegStatus;
    }

    public void setAirCelllegStatus(String airCelllegStatus) {
        AirCelllegStatus = airCelllegStatus;
    }

    public String getAirCellHandStatus() {
        return AirCellHandStatus;
    }

    public void setAirCellHandStatus(String airCellHandStatus) {
        AirCellHandStatus = airCellHandStatus;
    }

    public String getAirCellSeatStatus() {
        return AirCellSeatStatus;
    }

    public void setAirCellSeatStatus(String airCellSeatStatus) {
        AirCellSeatStatus = airCellSeatStatus;
    }

    public String getAirCellShoulderStatus() {
        return AirCellShoulderStatus;
    }

    public void setAirCellShoulderStatus(String airCellShoulderStatus) {
        AirCellShoulderStatus = airCellShoulderStatus;
    }

    public String get_4d() {
        return _4d;
    }

    public void set_4d(String _4d) {
        this._4d = _4d;
    }

    public String get_3DPosIconBean() {
        return _3DPosIconBean;
    }

    public void set_3DPosIconBean(String _3DPosIconBean) {
        this._3DPosIconBean = _3DPosIconBean;
    }



    private boolean hasKneadRunning(){
        return hasRunning(Knead);
    }
    private boolean hasHandRunning(){

        return hasRunning(Swedish)||hasRunning(Knock)||hasRunning(Shiasu)||hasRunning(Flap)||hasRunning(Tuina)||hasRunning(KneadAndKnock);
    }
    private boolean hasFootWheelRunning(){
        return hasRunning(FootWheelButton);
    }
    private boolean hasHotRunning(){
        return hasRunning(heatKneeLevelRank)||hasRunning(heatWaistLevelRank);
    }
    private boolean hasAirRunning(){

        return hasRunning(AirCellShoulder)||hasRunning(AirCellHip)||hasRunning(AirCellHand)||hasRunning(AirCellleg)||hasRunning(AirCellWholebody);
    }
    public boolean hasAdvanceProgramRunning(){
        return hasKneadRunning()||hasHandRunning()||hasFootWheelRunning()||hasHotRunning()||hasAirRunning();
    }

    private boolean hasRunning(String mProgram){
        return !TextUtils.isEmpty(mProgram)&& Integer.valueOf(mProgram)>0;
    }

    @Override
    public String toString() {
        return "Device7808StateBean{" +
                "TimeRemaining='" + TimeRemaining + '\'' +
                ", RunningStatusQuery='" + RunningStatusQuery + '\'' +
                ", RunningStatus='" + RunningStatus + '\'' +
                ", TimeExpired='" + TimeExpired + '\'' +
                ", WaringTone='" + WaringTone + '\'' +
                ", ResetSucccessFlag='" + ResetSucccessFlag + '\'' +
                ", WifiName='" + WifiName + '\'' +
                ", WifiSignal='" + WifiSignal + '\'' +
                ", WifiWay='" + WifiWay + '\'' +
                ", WifiEnctyption='" + WifiEnctyption + '\'' +
                ", Knead='" + Knead + '\'' +
                ", Swedish='" + Swedish + '\'' +
                ", Knock='" + Knock + '\'' +
                ", Shiasu='" + Shiasu + '\'' +
                ", Flap='" + Flap + '\'' +
                ", Tuina='" + Tuina + '\'' +
                ", KneadAndKnock='" + KneadAndKnock + '\'' +
                ", HandProgram='" + HandProgram + '\'' +
                ", TuinaStatus='" + TuinaStatus + '\'' +
                ", KneadStatus='" + KneadStatus + '\'' +
                ", SwedishStatus='" + SwedishStatus + '\'' +
                ", KnockStatus='" + KnockStatus + '\'' +
                ", ShiasuStatus='" + ShiasuStatus + '\'' +
                ", KneadAndKnockStatus='" + KneadAndKnockStatus + '\'' +
                ", FlapStatus='" + FlapStatus + '\'' +
                ", AutoProgram='" + AutoProgram + '\'' +
                ", XStatus='" + XStatus + '\'' +
                ", LegPosAdjust='" + LegPosAdjust + '\'' +
                ", LegPosAdjustX='" + LegPosAdjustX + '\'' +
                ", BackPosAdjust='" + BackPosAdjust + '\'' +
                ", ZeroGravity='" + ZeroGravity + '\'' +
                ", YStatus='" + YStatus + '\'' +
                ", YPos='" + YPos + '\'' +
                ", ShoulderDetectCheck='" + ShoulderDetectCheck + '\'' +
                ", KneadSpeed='" + KneadSpeed + '\'' +
                ", KnockSpeed='" + KnockSpeed + '\'' +
                ", FootScrollSenior='" + FootScrollSenior + '\'' +
                ", TimeSet='" + TimeSet + '\'' +
                ", HeatFullBody='" + HeatFullBody + '\'' +
                ", KneeHeat='" + KneeHeat + '\'' +
                ", HeatWaist='" + HeatWaist + '\'' +
                ", FootWheelButton='" + FootWheelButton + '\'' +
                ", Led='" + Led + '\'' +
                ", AntiPinchCheck='" + AntiPinchCheck + '\'' +
                ", FootWheelIcon='" + FootWheelIcon + '\'' +
                ", LedIcon='" + LedIcon + '\'' +
                ", HeatLevelRank='" + HeatLevelRank + '\'' +
                ", AirIntensityAdjust='" + AirIntensityAdjust + '\'' +
                ", XPos='" + XPos + '\'' +
                ", MassageStrength='" + MassageStrength + '\'' +
                ", MassageSpeed='" + MassageSpeed + '\'' +
                ", AirIntensity='" + AirIntensity + '\'' +
                ", AirCellShoulder='" + AirCellShoulder + '\'' +
                ", AirCellHip='" + AirCellHip + '\'' +
                ", AirCellHand='" + AirCellHand + '\'' +
                ", AirCellleg='" + AirCellleg + '\'' +
                ", AirCellFootSide='" + AirCellFootSide + '\'' +
                ", AirCellWholebody='" + AirCellWholebody + '\'' +
                ", AirCellFootStatus='" + AirCellFootStatus + '\'' +
                ", AirCelllegStatus='" + AirCelllegStatus + '\'' +
                ", AirCellHandStatus='" + AirCellHandStatus + '\'' +
                ", AirCellSeatStatus='" + AirCellSeatStatus + '\'' +
                ", AirCellShoulderStatus='" + AirCellShoulderStatus + '\'' +
                ", _4d='" + _4d + '\'' +
                ", _3DPosIconBean='" + _3DPosIconBean + '\'' +
                '}';
    }
}
